package com.training.java.corejava.Inheritance;

public class Laptop  extends Computer{
	
	
	Laptop(){
	super("Dell","inspiron","3.10ghz");
	}
	
	//Laptop(String brand,String model, String processor ){}
	
		
	void upgrade(String item)
	{
		switch(item)
		{
			case "add_Wifi": 
				            System.out.println("\nwi_fi is added.");
				            break;
			case "add_Bluetooth":
							System.out.println("\nbluetooth is added.");
			                break;
			case "change_battery": 
							System.out.println("\nbattery has been changed.");
			                break;
			default:        break;
			
			
		}
		
        
		
	}
    
	 
    
}
